package com.hst.capacity.infra.persistence.mybatis;

import com.hst.capacity.domain.model.entity.auth.UserEntity;
import com.hst.capacity.domain.model.entity.order.express.ExpressOrderEntity;
import com.hst.capacity.domain.model.request.driver.DriverSearchParam;
import com.hst.capacity.domain.model.request.express.ExListNewParam;
import com.hst.capacity.domain.model.request.express.ExListParam;
import com.hst.capacity.domain.model.response.driver.DriverPagingVO;
import com.hst.capacity.domain.model.response.express.ExDetailVO;
import com.hst.capacity.domain.model.response.express.ExListNewVO;
import com.hst.capacity.domain.model.response.express.ExSearchVO;
import com.hst.capacity.domain.model.response.intercity.IcDetailVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ExpressOrderMapper {

    List<ExSearchVO> searchWithConditionsAndPaging(ExListParam param);
    Long searchWithConditionsAndPagingTotal(ExListParam param);

    ExDetailVO.Base getExOrderDetailBase(String orderId);
    List<ExDetailVO.StatusHistory> getExOrderDetailHistory(String orderId);
    List<ExListNewVO> getNewExOrderList(ExListNewParam param);
    Long getNewExOrderListTotal(ExListNewParam param);

    Boolean updateMemo(String idOrder, String memo);

    ExDetailVO.Base getExOrderDetailBaseForHistory(String orderId);

}
